package com.guoning.office_system.model;

import java.util.Date;

public class Function {
    private Long id;

    private Long pid;

    private String funcCode;

    private String funcName;

    private Integer funcStatus;

    private Integer funcOrder;

    private String menuUrl;

    private String creator;

    private Date createTime;

    private String modifier;

    private Date modifiedTime;

    private Date ts;

    private Integer dr;

    private String icon;

    public Function(Long id, Long pid, String funcCode, String funcName, Integer funcStatus, Integer funcOrder, String menuUrl, String creator, Date createTime, String modifier, Date modifiedTime, Date ts, Integer dr, String icon) {
        this.id = id;
        this.pid = pid;
        this.funcCode = funcCode;
        this.funcName = funcName;
        this.funcStatus = funcStatus;
        this.funcOrder = funcOrder;
        this.menuUrl = menuUrl;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifiedTime = modifiedTime;
        this.ts = ts;
        this.dr = dr;
        this.icon = icon;
    }

    public Function() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getFuncCode() {
        return funcCode;
    }

    public void setFuncCode(String funcCode) {
        this.funcCode = funcCode == null ? null : funcCode.trim();
    }

    public String getFuncName() {
        return funcName;
    }

    public void setFuncName(String funcName) {
        this.funcName = funcName == null ? null : funcName.trim();
    }

    public Integer getFuncStatus() {
        return funcStatus;
    }

    public void setFuncStatus(Integer funcStatus) {
        this.funcStatus = funcStatus;
    }

    public Integer getFuncOrder() {
        return funcOrder;
    }

    public void setFuncOrder(Integer funcOrder) {
        this.funcOrder = funcOrder;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }
}